<table class="table table-striped">
    <style>
        th{
            width: 20%;
        }
        td{
            word-wrap:break-word;word-break:break-all;
        }
    </style>
    <tbody>
    <tr>
        <th>{:__('Id')}</th>
        <td id="see_id">{$row.id}</td>
    </tr>
    <tr>
        <th>{:__('Name')}</th>
        <td>{$row.name}</td>
    </tr>
    <tr>
        <th>{:__('Illustrate')}</th>
        <td>{$row.illustrate}</td>
    </tr>
    <tr>
        <th>{:__('Lifespan_data')}</th>
        <td>{$row.lifespan_data_text}{if $row.lifespan_data==0}
            {:date('Y-m-d H:i:s',$row.start_time)}-{:date('Y-m-d H:i:s',$row.end_time)}
            {else}
            {$row.fate}
            {/if}</td>
    </tr>
    <tr>
        <th>{:__('Online_switch')}</th>
        <td>{$row.online_switch_text}</td>
    </tr>
    <tr>
        <th>{:__('All_cost')}</th>
        <td>{$row.all_cost}</td>
    </tr>
    <tr>
        <th>{:__('All_price')}</th>
        <td>{$row.all_price}</td>
    </tr>
    <tr>
        <th>{:__('Status')}</th>
        <td>{$row.status_text}</td>
    </tr>
    <tr>
        <th>{:__('createtime')}</th>
        <td>{:date('Y-m-d H:i:s',$row.createtime)}</td>
    </tr>
    </tbody>
</table>
<p style="    border-bottom: 1px solid #18bc9c;
    padding-bottom: 10px;
}">卡包明细：</p>
<table class="table table-striped table-bordered table-hover table-nowrap">
    {if !empty($row.kabawtype)}
    <thead>
        <tr>
            <th>{:__('Card_type_name')}</th>
            <th>{:__('Number')}</th>
            <th>{:__('Price')}</th>
            <th>{:__('All_cost')}</th>
            <!--<th>{:__('All_price')}</th>-->
        </tr>
    </thead>
    <tbody>
        {foreach name="row.kabawtype" item="vo"}
            <tr>
                <td>{$vo.card_type_name}</td>
                <td>{$vo.number}</td>
                <td>{$vo.price}</td>
                <td>{$vo.all_cost}</td>
                <!--<td>{$vo.all_price}</td>-->
            </tr>
        {/foreach}
    </tbody>
    {/if}
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
